package cqrtplm.service;

import com.hustcad.plm.pdm.file.handler.response.ResponseResult;
import cqrtplm.dto.RtCfgTemplatecontentConstraintsDTO;
import cqrtplm.entity.RtCfgTemplatecontentConstraintsDO;
import com.baomidou.mybatisplus.extension.service.IService;
import cqrtplm.vo.ModelAndProductTypeVO;

import java.math.BigInteger;
import java.text.ParseException;
import java.util.Map;

/**
* @author 博
* @description 针对表【RT_CFG_TEMPLATECONTENT_CONSTRAINTS(需求状态内容- 选项规则 - 约束表)】的数据库操作Service
* @createDate 2025-07-10 14:01:08
*/
public interface RtCfgTemplatecontentConstraintsService extends IService<RtCfgTemplatecontentConstraintsDO> {

    ResponseResult saveRtCfgTemplatecontentConstraints(RtCfgTemplatecontentConstraintsDO rtCfgTemplatecontentConstraintsDO);

    ResponseResult testRtCfgTemplatecontentConstraints(Map<String,String> map);

    ResponseResult getRtCfgStatusSubTree(ModelAndProductTypeVO modelAndProductTypeVO) throws ParseException;


    ResponseResult removeRtCfgTemplatecontentConstraints(BigInteger[] ids);

    ResponseResult getRtCfgTemplatecontentConstraints(
            RtCfgTemplatecontentConstraintsDTO rtCfgTemplatecontentConstraintsDTO);

    ResponseResult updateRtCfgTemplatecontentConstraints(RtCfgTemplatecontentConstraintsDO rtCfgTemplatecontentConstraintsDO);


}
